home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 034a / badusr10.zip / BADUSER.DOC < prev    next >
Text File  |  1991-11-25  |  7KB  |  177 lines

  1.  
  2.  
  3.                   BADUSER v1.0  -  Copyright 1991 Ernie Johnson
  4.  
  5.             ** Warning: Very skimpy documentation lies ahead
  6.                         It is intended for experienced BBS sysops!
  7.  
  8.  
  9.     Why BADUSER?
  10.     --------------------------------------------------------------------
  11.     Let me explain why I wrote this program before describing what it
  12.     does and what you can use it for:
  13.  
  14.     I run a partially "free" BBS but require users to keep a file ratio.
  15.  
  16.     A few "select" users seem to enjoy downloading a file, renaming it
  17.     and uploading it again to get their file ratio replenished.
  18.  
  19.     Of course, these users never read their personal mail that states
  20.     things like "your upload duplicates file such and such - please try
  21.     uploading something else".
  22.  
  23.     Well, after this carried on for a couple of weeks, and because I'm
  24.     never around (when they call) to force them to read their mail (I
  25.     have a macro that sends a R;S;Y command!) or chat with them to tell
  26.     them what they are doing is wrong.
  27.  
  28.     Since they can't seem to figure out how to read mail (even though
  29.     its on the main menu) I decided it was time for a way to bring these
  30.     messages to their attention a little more forcefully without
  31.     bothering other users too much.
  32.  
  33.     As a result, I wrote a custom version of BADUSER to handle the
  34.     specific person's names.  As the problem cleared, and then another
  35.     user started doing it, I decided to re-write BADUSER to make use of
  36.     a sysop definable "BADUSER" list, and text files - it now saves me
  37.     having to recompile my program for each user as the problem arises,
  38.     and allows me to send out the program to all the other sysops having
  39.     a hard time with the occasional "bad user".
  40.  
  41.  
  42.     Program Setup
  43.     --------------------------------------------------------------------
  44.     I'm going to be very brief with this.  I wrote the program in 10
  45.     minutes, and I'm not charging anything for its use - I'd expect a
  46.     sysop who is going to be using this to be knowledgeable enough to
  47.     set up the door for his/her system - we will help you over the phone
  48.     if you need help in setting it up, but we will not return long
  49.     distance calls or accept collect calls.  Remember this is a FREE
  50.     program!  If you do need help, I'd appreciate it if you leave a
  51.     message on EPIC BBS first.  The number will be posted later in this
  52.     document.
  53.  
  54.     Briefly, set up the door as any other door on your system, BUT make
  55.     it a LOGIN door.  If you are using the PCBoard beta code, or version
  56.     14.5a, set the "SHELL to DOS" option to "Y" and make the appropriate
  57.     change to your batch file.  The door will work very smoothly and
  58.     faster if its set this way.  If you can, put the door in a RAM disk
  59.     - it will work almost invisibly to callers! (unless they are a bad
  60.     user!)
  61.  
  62.  
  63.     Here is a sample batch file as used on EPIC BBS:
  64.  
  65.     REM NODE3
  66.     J:
  67.     CD\DOORS\BADUSER
  68.     BADUSER C:\PCB\PCBOARD.SYS
  69.     C:
  70.     CD\PCB
  71.  
  72.  
  73.     Baduser needs only 1 command line option - that is the drive, path
  74.     and filename of the PCBOARD.SYS file.
  75.  
  76.     Remember to set up the door as a LOGIN door, otherwise it won't work
  77.     as expected!
  78.  
  79.     You can use this door on anything that also creates a DOOR.SYS file.
  80.     Simply follow the above example, but replace PCBOARD.SYS with
  81.     DOOR.SYS.
  82.  
  83.  
  84.     BADUSER.DAT
  85.     --------------------------------------------------------------------
  86.     Next, you'll need to create a BADUSER.DAT file if one doesn't exist.
  87.  
  88.     When the door loads, it scans this file for names, and if a match is
  89.     found with the user online, it displays a particular file.
  90.  
  91.     Here is a sample BADUSER.DAT file:
  92.  
  93.     ERNIE JOHNSON ERNIE.TXT
  94.     ALL USERS ALL.TXT
  95.  
  96.  
  97.     It (BADUSER.DAT) can be any number of lines long, but the longer it
  98.     is, the longer it will take to process.  You shouldn't have that
  99.     many "bad users" anyway. <grin>
  100.  
  101.  
  102.     When creating the file, here is how to lay it out:
  103.  
  104.     FIRST_NAME LAST_NAME FILE_TO_DISPLAY
  105.  
  106.     Please note the single SPACES between the first and last name,
  107.     another space, and the drive, path and filename of the message you
  108.     want to display to the bad user.
  109.  
  110.     If you enter a name of "ALL USERS" (without quotes) the file
  111.     associated with it will be displayed to everyone.  You might have a
  112.     need for it, and if so, use it - if not, don't use it.
  113.  
  114.  
  115.     SAMPLES
  116.     --------------------------------------------------------------------
  117.     In the archive, are a few short samples - delete these if you know
  118.     what you are doing and don't need to see what is going to happen
  119.     when a "BADUSER" logs in to your system.
  120.  
  121.     What happens when a BADUSER logs in?  Well, try it and see - if you
  122.     are using the samples provided, the ALL.TXT file will be displayed.
  123.  
  124.     Add yourself to the BADUSER.DAT file and create a small file to be
  125.     displayed to yourself - play with it.  The program works great for
  126.     me, so I just wanted to pass along a potentially usefull program to
  127.     others.
  128.  
  129.  
  130.     OTHER USES?
  131.     --------------------------------------------------------------------
  132.     Sure!  Set up a BADUSER.DAT file with ALL USERS ALL.TXT in it (so
  133.     that it displays to everyone), and create a file that encourages
  134.     users to register a door on your system.
  135.  
  136.     After your normal door runs, call BADUSER and have it display a
  137.     friendly "help the sysop to register" this door message - its
  138.     cheaper than the other "adopt a door" programs available, and
  139.     although may have less features, it gets the job done with minimal
  140.     amount of hassle.
  141.  
  142.  
  143.     COMMENTS, SUGGESTIONS, UPGRADES, ETC.
  144.     --------------------------------------------------------------------
  145.     Well, if I get enough people asking, I may add options to have
  146.     separate ASCII and ANSI files and other things like that.  Please
  147.     give our BBS a call and tell me what you'd like to see added.  I'll
  148.     add it to my list, and some day if I have time, incorporate your
  149.     idea into the program (along with better documentation).
  150.  
  151.  
  152.     THE END
  153.     --------------------------------------------------------------------
  154.     I'm afraid thats it for documentation, very sketchy, but the program
  155.     is another "freebie", and it should be simple enough to get set up.
  156.  
  157.     If you need some help, leave us a message on our BBS system - its
  158.     the most reliable and fastest way - I read mail on my BBS more often
  159.     than returning calls left on my answering machine.
  160.  
  161.     Oh, and download YQOTD21.ZIP - its a great quote of the day login
  162.     door for most BBS systems (and the documentation is better too)!
  163.  
  164.     Heck, while you are at it, download all my other programs <grin>!
  165.  
  166.  
  167.     How to reach us:
  168.  
  169.     (519) 357-1941 voice - no collect calls please!
  170.     (519) 357-1943 BBS   - the quickest, most reliable method of getting
  171.                            tech support for the BADUSER door.
  172.  
  173.     Or, leave a message in the PCBoard or Shareware conference on the
  174.     City2City mail network, or in the Shareware conference on the RIME
  175.     or ILink mail network.
  176.  
  177.